﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NetJsWire.Widgets.Core;

namespace UIProject
{
    public partial class ClientDoc : ClientDocument
    {
        public ClientDoc()
        {
            InitializeComponent();

            button2.Renderer.AddClientEvent( "click", "function(b){Methods.LoadWindow({window:'UIProject.LiteWindow', show:true},function(r){eval(r);});}" );
        }

        private void button1_Click( object sender, EventArgs e )
        {
            var frm = new Form1();
            frm.Show();
        }
    }
}
